// REM适配基础样式
html {
  font-size: 16px; // 默认根字体大小
  
  @media (max-width: 575.98px) { // xs
    font-size: 14px;
  }
  
  @media (min-width: 576px) and (max-width: 767.98px) { // sm
    font-size: 15px;
  }
  
  @media (min-width: 768px) and (max-width: 991.98px) { // md
    font-size: 15.5px;
  }
  
  @media (min-width: 992px) and (max-width: 1199.98px) { // lg
    font-size: 16px;
  }
  
  @media (min-width: 1200px) and (max-width: 1399.98px) { // xl
    font-size: 16.5px;
  }
  
  @media (min-width: 1400px) { // xxl
    font-size: 17px;
  }
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
}

// 占位图样式
.placeholder-img {
  background: linear-gradient(45deg, #f8f9fa, #e9ecef);
  border: 1px solid #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-weight: bold;
  text-align: center;
  
  &::before {
    content: "Image Placeholder";
  }
}

// 响应式工具类
.responsive-text {
  font-size: 1rem;
  
  @media (max-width: 575.98px) {
    font-size: 0.875rem;
  }
  
  @media (min-width: 1200px) {
    font-size: 1.125rem;
  }
}

// 旅游网站专用样式
.travel-header {
  background-color: #0d6efd;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.travel-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              linear-gradient(45deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  padding: 4rem 0;
  
  @media (max-width: 767.98px) {
    padding: 2rem 0;
  }
}

.travel-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  
  &:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 2rem rgba(0,0,0,.15);
  }
}

.destination-card {
  overflow: hidden;
  
  .card-img-top {
    transition: transform 0.5s ease;
  }
  
  &:hover .card-img-top {
    transform: scale(1.05);
  }
}

.testimonial-card {
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05);
}

.newsletter-section {
  background-color: #f8f9fa;
  padding: 3rem 0;
}

.footer-links a {
  text-decoration: none;
  color: #6c757d;
  
  &:hover {
    color: #0d6efd;
  }
}

// 添加服务图标动画效果
.service-icon {
  transition: all 0.3s ease;
  
  &:hover {
    transform: rotate(10deg) scale(1.1);
  }
}

// 添加按钮悬停效果
.hover-effect {
  transition: all 0.3s ease;
  
  &:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }
}

// 跳动价格动画
.jumping-price {
  display: inline-block;
  animation-duration: 1s;
}

// 活泼文字效果
.display-4 {
  background: linear-gradient(45deg, #ff9a9e, #fad0c4, #a1c4fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.lead {
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}